Added login activity; empty submit to toast feature; nonempty submit to spinner feature