enhance the login mechanism; extend FrutisApp test