Login 3 - finished

set all login-functions to functions.php / new session set