Registration and authentication users in index.jsp