Added session_destroy to beginning login function