Updated usergateway. Added login web page, started on web template and updated EJB getfunctions