Updated to remove compilation errors in integration of login
Updated gradle script for javamail api dependancy.