login and main page migration to boostrap