login fixed, files cleaned up