added user authentication and bootstrap