Perfectly working version of logindetails fragment and loginscreen fragment