Add bootstrap and login func