moved sign in form into a function for reusability, cleaned up and prepped mybook page for further changes.