This is my login function in functions.php
if(isset($_POST[\'login\'])) { $name = $_POST[\'user\']; $pw = $_POST[\'pw\']; $hashedpw = hash(\'M