Added LoginController class to facilitate the login

Added some changes in the O2 library to be able to login in Ubuntu One