Added the ability to login in more details to follow