Added javadoc for all methods. Created a query to find the current user without storing the password in memory to prevent any possible buffer overflows.