Login app using a service and Sqlite