refactored and deleted unessecary function.
added admin.jsp