added login parts