loggin perfected