Last login feature implemented

These changes implements last login functionality covering LAST_LOGIN INSERTION [on registeration], UPDATE [on login] and function to retrieve last login time from server