Added javadocs for Security and LoginActivity