Modularizing admin interface code + starting login system