Added loginsupport
Added block for login
Added login support. Refactoring
Added loginsupport