added login functionality and bootstrap