Added /install URL access for unlogged users (only works when users table doesn't exist anyway) and moved checking if user is admin to upgrade method only.