register popup + fix login