28MAR2014 Add custome login functionality